/* * Author: Chris Seguin * * This software has been developed under the copyleft * rules of the GNU General Public License. Please * consult the GNU General Public License for more * details about use and distribution of this software. */ package org.acm.seguin.uml; import java.awt.event.ActionEvent; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; import org.acm.seguin.metrics.ProjectMetricsFrame; /** * Create a mouse listener for a package or a field or a title * *@author Chris Seguin *@created July 27, 1999 */ public class ProjectMetricsListener extends PopupMenuListener { /** * Constructor for the ProjectMetricsListener object * *@param initMenu Description of Parameter *@param initItem Description of Parameter */ public ProjectMetricsListener(JPopupMenu initMenu, JMenuItem initItem) { super(initMenu, initItem); } /** * A menu item has been selected * *@param evt Description of Parameter */ public void actionPerformed(ActionEvent evt) { super.actionPerformed(evt); new ProjectMetricsFrame(); } }